<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%request.setAttribute("ctx",request.getContextPath()); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<script type="text/javascript">
	window.onload = redirect();
	function redirect(){
	<% String urlAccessFlag = (String)request.getAttribute("timeout");%>
	<% if ("Y".equalsIgnoreCase(urlAccessFlag)) {%>
		alert("会话已经超时,请重新登陆!");
	<%}%>
		parent.window.location.href = "${ctx}/admin/login.jsp";
	}
</script>




